package kn.webstd.g4g.commons.dto;

import java.util.Date;
import java.util.Set;
import kn.webstd.tools.commons.dto.AbstractExtendedDto;

/**
 * DTO for the ObjetivesBo.
 */
public class ObjetivesDto extends AbstractExtendedDto {

	// ~ Constants

	private static final long serialVersionUID = 5298332;

	/** Maximum length of startdate property. */
	public static final int LENGTH_STARTDATE = 29;
	/** Maximum length of finaldate property. */
	public static final int LENGTH_FINALDATE = 29;
	/** Maximum length of nombre property. */
	public static final int LENGTH_NOMBRE = 255;
	/** Maximum length of description property. */
	public static final int LENGTH_DESCRIPTION = 255;
	/** Maximum precision of percent property. */
	public static final int PRECISION_PERCENT = 17;
	/** Maximum scale of percent property. */
	public static final int SCALE_PERCENT = 17;

	// Fields

	private Long iduser;
	private Date startdate;
	private Date finaldate;
	private String nombre;
	private String description;
	private Double percent;
	private Boolean finished;
	private Set<Long> programses;

	// Constructor

	/** 
	 * Creates a new {@link ObjetivesDto}
	 * 
	 * @author Victor Osorio
	 */
	public ObjetivesDto() {
		super();
	}

	// Property accessors
	/**
	 * Returns the 'iduser'.
	 *
	 * @return the 'iduser'
	 */
	public Long getIduser() {
		return this.iduser;
	}

	/**
	 * Set the 'iduser'.
	 *
	 * @param iduser the 'iduser'
	 */
	public void setIduser(Long iduser) {
		this.iduser = iduser;
	}

	/**
	 * Returns the 'startdate'.
	 *
	 * @return the 'startdate'
	 */
	public Date getStartdate() {
		return this.startdate;
	}

	/**
	 * Set the 'startdate'.
	 *
	 * @param startdate the 'startdate'
	 */
	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}

	/**
	 * Returns the 'finaldate'.
	 *
	 * @return the 'finaldate'
	 */
	public Date getFinaldate() {
		return this.finaldate;
	}

	/**
	 * Set the 'finaldate'.
	 *
	 * @param finaldate the 'finaldate'
	 */
	public void setFinaldate(Date finaldate) {
		this.finaldate = finaldate;
	}

	/**
	 * Returns the 'nombre'.
	 *
	 * @return the 'nombre'
	 */
	public String getNombre() {
		return this.nombre;
	}

	/**
	 * Set the 'nombre'.
	 *
	 * @param nombre the 'nombre'
	 */
	public void setNombre(String nombre) {
		this.nombre = nombre;
	}

	/**
	 * Returns the 'description'.
	 *
	 * @return the 'description'
	 */
	public String getDescription() {
		return this.description;
	}

	/**
	 * Set the 'description'.
	 *
	 * @param description the 'description'
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * Returns the 'percent'.
	 *
	 * @return the 'percent'
	 */
	public Double getPercent() {
		return this.percent;
	}

	/**
	 * Set the 'percent'.
	 *
	 * @param percent the 'percent'
	 */
	public void setPercent(Double percent) {
		this.percent = percent;
	}

	/**
	 * Returns the 'finished'.
	 *
	 * @return the 'finished'
	 */
	public Boolean getFinished() {
		return this.finished;
	}

	/**
	 * Set the 'finished'.
	 *
	 * @param finished the 'finished'
	 */
	public void setFinished(Boolean finished) {
		this.finished = finished;
	}

	/**
	 * Returns the 'programses'.
	 *
	 * @return the 'programses'
	 */
	public Set<Long> getProgramses() {
		return this.programses;
	}

	/**
	 * Set the 'programses'.
	 *
	 * @param programses the 'programses'
	 */
	public void setProgramses(Set<Long> programses) {
		this.programses = programses;
	}

}
